package com.qianclass.talklive.app.im;

public class ConstantDefination {
	public static final int IM_COMMAND_REGISTER = 2016100;
	public static final int IM_COMMAND_UNREGISTER = 2016101;
	public static final int IM_COMMAND_REGISTERFORCE = 2016102;
	public static final int IM_COMMAND_JOINGROUP = 2016103;
	public static final int IM_COMMAND_LEAVEGROUP = 2016104;
	public static final int IM_COMMAND_MESSAGE = 2016105;
	public static final int IM_COMMAND_GMESSAGE = 2016106;
	public static final int IM_COMMAND_ACK = 2016107;
	public static final int IM_COMMAND_FETCHAGINFO = 2016108;
	public static final int IM_COMMAND_LOCKUSER = 2016113;

	public static final int IM_COMMAND_ONREGISTER = 2016200;
	public static final int IM_COMMAND_ONUNREGISTER = 2016201;
	public static final int IM_COMMAND_ONJOINGROUP = 2016202;
	public static final int IM_COMMAND_ONLEAVEGROUP = 2016203;
	public static final int IM_COMMAND_ONUSERJOINGROUP = 2016204;
	public static final int IM_COMMAND_ONUSERLEAVEGROUP = 2016205;
	public static final int IM_COMMAND_SERVERNOTIFICATION = 2016206;
	public static final int IM_COMMAND_GROUPUSERLIST = 2016209;
	public static final int IM_COMMAND_ONSETTALKSTATUS = 2016210;
	public static final int IM_COMMAND_ONLOCKUSER = 2016211;

	public static final int PL_ENCRYPT_NULL = 0;
	public static final int PL_ENCRYPT_XOR = 1;
	public static final int PL_ENCRYPT_PRIVATE = 2;		

	public static final int RESULT_SUCCESS = 0;
	public static final int ERR_INVALID = -400;
	public static final int ERR_SEND_FAIL = -401;
	public static final int ERR_UID_REGISTED = -402;
	public static final int ERR_UID_RENEW = -403;
	public static final int ERR_CONNECTION_LOST = -404;
	public static final int ERR_CONNECTION_CLOSE = -405;
	public static final int ERR_UID_UNFOUND = -406;
	public static final int ERR_GID_UNFOUND = -407;
	public static final int ERR_KEY = -408;
	public static final int ERR_MAXMEMBER = -409;
	public static final int ERR_ACK_TIMEOUT = -410;
	public static final int ERR_NET = -411;
	public static final int ERR_UNKOWN = -412;
	public static final int ERR_INVALID_COMMAND = -413;
	public static final int ERR_PACKET = -414;
	public static final int ERR_NET_RW = -415;
	public static final int ERR_EXCEPTION = -417;
	public static final int ERR_PARAM = -418;
	public static final int ERR_RECONNECTION = -419;
	public static final int ERR_CREATE_LOG_FILE = -420;
}
	

